package com.cddx.logistics.service;

import com.cddx.logistics.domain.dto.VehicleTaskQueryDTO;
import com.cddx.logistics.domain.pojo.VehicleTask;
import com.cddx.logistics.domain.vo.VehicleTaskVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface VehicleTaskService {
    List<VehicleTaskVO> queryByDate(VehicleTaskQueryDTO queryDTO);
    PageInfo<VehicleTaskVO> queryPage(VehicleTaskQueryDTO queryDTO);
    boolean add(VehicleTask vehicleTask);
    boolean update(VehicleTask vehicleTask);
    boolean delete(Integer id);
}